package com.addplus.townmall.server.api.model.town;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import com.addplus.townmall.server.api.model.base.BaseRestModel;
import com.baomidou.mybatisplus.annotation.TableField;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 商家保证金详细表
 * </p>
 *
 * @author zhangjiehang
 * @since 2018-08-27
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("store_cash_deposit_detail")
public class StoreCashDepositDetail extends BaseRestModel {

    private static final long serialVersionUID = 1L;

    /**
     * 商城商家保证金表
     */
    @TableField("store_cash_deposit_id")
    private Integer storeCashDepositId;
    /**
     * 金额
     */
    private BigDecimal balance;
    /**
     * 操作类型
     */
    private String operator;
    /**
     * 说明
     */
    private String description;
    /**
     * 充值类型（银联、支付宝之类的）
     */
    @TableField("recharge_way")
    private Integer rechargeWay;
    /**
     * 是否删除(0:否 1:是)
     */
    @TableField("is_deleted")
    private Integer isDeleted;


}
